package com.youjiang.meeting.mapper;

import com.youjiang.meeting.po.Redpack;
import com.youjiang.meeting.po.RedpackExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RedpackMapper {
    int countByExample(RedpackExample example);

    int deleteByExample(RedpackExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Redpack record);

    int insertSelective(Redpack record);

    List<Redpack> selectByExample(RedpackExample example);

    Redpack selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Redpack record, @Param("example") RedpackExample example);

    int updateByExample(@Param("record") Redpack record, @Param("example") RedpackExample example);

    int updateByPrimaryKeySelective(Redpack record);

    int updateByPrimaryKey(Redpack record);
}